#ifndef CSLEPUI_H
#define CSLEPUI_H

#include <QtGui>
#include <QtGui/QMainWindow>
#include "CSLEPFilesWidget.h"
#include "slepoptionswidget.h"

class CSLEPUI : public QMainWindow
{
	Q_OBJECT

public:
	CSLEPUI(QWidget *parent = 0, Qt::WFlags flags = 0);
	~CSLEPUI();
	SlepOptionsWidget *optsWidget;

private slots:
	void about();
	void actLeastR();

private:
	void setupMenus();
	void setupActions();
	void setupWorkspacePanel();


private:
	QMenu *menuFile;
	QAction *actionAddFiles;
	QAction *actionExit;

	QMenu *menuHelp;
	QAction *actionAbout;

	QMenu *menuView;

	QMenu *menuSolve;
	QAction *actionFusedLasso;
	QMenu *menuL1Regularized;
	QAction *actionLeastR;
	QAction *actionNnLeastR;
	QAction *actionLogisticR;
	QAction *actionNnLogisticR;
	QMenu *menuL1Constrained;
	QAction *actionLeastC;
	QAction *actionNnLeastC;
	QAction *actionLogisticC;
	QAction *actionNnLogisticC;

	QMenu *menuLq1Regularized;
	QAction *actionLq1GlLeastR;
	QAction *actionLq1GlLogisticR;
	QAction *actionLq1McLeastR;
	QAction *actionLq1McLogisticR;
	QAction *actionLq1MtLeastR;
	QAction *actionLq1MtLogisticR;
	QMenu *menuL21Constrained;
	QAction *actionL21McLeastC;
	QAction *actionL21McLogisticC;
	QAction *actionL21MtLeastC;
	QAction *actionL21MtLogisticC;

	CSLEPFilesWorkspaceWidget *dockWidgetWorkspace;



	
};

#endif // CSLEPUI_H
